/**
 * $Id: UserMOCmd.java,v 1.6 2006/06/30 09:26:12 star Exp $
 *
 * Copyright 2006 Skyinfo, Inc. All Rights Reserved.
 */
package com.haoxi.gateway.runner.smscommand;

/**
 * TODO
 * 
 * Revision History
 * 
 * 2006-5-25,star.Zhao,created it
 */
public class UserMOCmd extends BaseCommandObj {
    /**
     * 网关编码
     */
    private String gateWayCode;
    private String connName;
    private String msgId;
    private byte[] msgId_bytes;
    /**
     * 计费代码
     */
    private String serviceId;
    private String spNumber;
    private int msgCoding;
    private String msgContent;
    private String orgMobile;
    private int orgMobileType;
    private String destMobile;
    private int destMobileType;
    private String linkId;

    public String getLinkId() {
        return linkId;
    }

    public void setLinkId(String linkId) {
        this.linkId = linkId;
    }

    /**
     * @return Returns the msgContent.
     */
    public String getMsgContent() {
        return msgContent;
    }

    /**
     * @param msgContent The msgContent to set.
     */
    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    /**
     * @return Returns the msgCoding.
     */
    public int getMsgCoding() {
        return msgCoding;
    }

    /**
     * @param msgCoding The msgCoding to set.
     */
    public void setMsgCoding(int msgCoding) {
        this.msgCoding = msgCoding;
    }

    public String getSpNumber() {
        return spNumber;
    }

    public void setSpNumber(String spNumber) {
        this.spNumber = spNumber;
    }

    /**
     * @return Returns the gateWayCode.
     */
    public String getGateWayCode() {
        return gateWayCode;
    }

    /**
     * @param gateWayCode The gateWayCode to set.
     */
    public void setGateWayCode(String gateWayCode) {
        this.gateWayCode = gateWayCode;
    }

    /**
     * @return Returns the serviceId.
     */
    public String getServiceId() {
        return serviceId;
    }

    /**
     * @param serviceId The serviceId to set.
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * @return Returns the destMobile.
     */
    public String getDestMobile() {
        return destMobile;
    }

    /**
     * @param destMobile The destMobile to set.
     */
    public void setDestMobile(String destMobile) {
        this.destMobile = destMobile;
    }

    /**
     * @return Returns the destMobileType.
     */
    public int getDestMobileType() {
        return destMobileType;
    }

    /**
     * @param destMobileType The destMobileType to set.
     */
    public void setDestMobileType(int destMobileType) {
        this.destMobileType = destMobileType;
    }

    /**
     * @return Returns the orgMobile.
     */
    public String getOrgMobile() {
        return orgMobile;
    }

    /**
     * @param orgMobile The orgMobile to set.
     */
    public void setOrgMobile(String orgMobile) {
        this.orgMobile = orgMobile;
    }

    /**
     * @return Returns the orgMobileType.
     */
    public int getOrgMobileType() {
        return orgMobileType;
    }

    /**
     * @param orgMobileType The orgMobileType to set.
     */
    public void setOrgMobileType(int orgMobileType) {
        this.orgMobileType = orgMobileType;
    }

    /**
     * @return Returns the msgId.
     */
    public String getMsgId() {
        return msgId;
    }

    /**
     * @param msgId The msgId to set.
     */
    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    /**
     * @return Returns the msgId_bytes.
     */
    public byte[] getMsgId_bytes() {
        return msgId_bytes;
    }

    /**
     * @param msgId_bytes The msgId_bytes to set.
     */
    public void setMsgId_bytes(byte[] msgId_bytes) {
        this.msgId_bytes = msgId_bytes;
    }

    /**
     * @return Returns the connName.
     */
    public String getConnName() {
        return connName;
    }

    /**
     * @param connName The connName to set.
     */
    public void setConnName(String connName) {
        this.connName = connName;
    }

    /*
     * (non-Javadoc)
     * 
     * @see com.haoxi.gateway.runner.smscommand.BaseCommandObj#toString()
     */
    public String toString() {
        StringBuffer buffer = new StringBuffer("UserMOCmd : orgMobile [")
                .append(this.orgMobile).append("], DesMobile [").append(
                        this.destMobile).append("], serviceId [").append(
                        this.serviceId).append("], gatewayCode [").append(
                        this.gateWayCode).append("], content [").append(
                        this.msgContent).append("], linkid [").append(this.linkId).append("]");
        return buffer.toString();
    }
}
